/**
 * Created with IntelliJ IDEA.
 * User: zet
 * Date: 13-4-4
 * Time: 上午12:02
 * To change this template use File | Settings | File Templates.
 */

(function(win){
    var shopperId = 1,
        machineId = 1;

    if(window.external && window.external.getShopperId){
        shopperId = window.external.getShopperId();
    }

    if(window.external && window.external.getMachineId){
        machineId = window.external.getMachineId();
    }

    win.Config = {
        serverRoot: '/server/',
        shopperId: shopperId,
        machineId: machineId
    };
})(window);
